﻿
namespace TMV.Common
{
    public class Rights
    {
        public const string View = "VIEW_";
        public const string Modify = "MODIFY_";
        public const string Create = "CREATE_";
        public const string Delete = "DELETE_";
    }

    public class Modules
    {
        public const string User = "USER";
        public const string Role = "ROLE";
    }

    public enum RequestStatus
    {
        /// <summary>
        ///     The ok.
        /// </summary>
        OK = 200,

        /// <summary>
        ///     The bad request.
        /// </summary>
        BadRequest = 400,

        /// <summary>
        ///     The unauthorized.
        /// </summary>
        Unauthorized = 401,

        /// <summary>
        ///     The forbidden.
        /// </summary>
        Forbidden = 403,

        /// <summary>
        ///     The not found.
        /// </summary>
        NotFound = 404,

        NotValidModel = 422,

        /// <summary>
        ///     The internal server error.
        /// </summary>
        InternalServerError = 500
    }
}